<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>headset.gui.MainController.ModelingController</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="headset-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >HeaDSET</th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="headset-module.html">Package&nbsp;headset</a> ::
        <a href="headset.gui-module.html">Package&nbsp;gui</a> ::
        <a href="headset.gui.MainController-module.html">Module&nbsp;MainController</a> ::
        Class&nbsp;ModelingController
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class ModelingController</h1><p class="nomargin-top"><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_headset__12" name="uml_class_diagram_for_headset__12">
<area shape="rect" href="headset.gui.MainController.ModelingController-class.html#__init__" title="The constructor for ModelingController initialises the main variabels &#160;needed to run." alt="" coords="17,428,167,447"/>
<area shape="rect" href="headset.gui.MainController.ModelingController-class.html#BindEvents" title="This method binds the events to the widgets of ModelingView." alt="" coords="17,447,167,465"/>
<area shape="rect" href="headset.gui.MainController.ModelingController-class.html#StartNewProject" title="headset.gui.MainController.ModelingController.StartNewProject" alt="" coords="17,465,167,484"/>
<area shape="rect" href="headset.gui.MainController.ModelingController-class.html#OnNew" title="Method for handling an incoming event to open a new project." alt="" coords="17,484,167,503"/>
<area shape="rect" href="headset.gui.MainController.ModelingController-class.html#OnImport" title="Method for handling an incoming event to import a DICOM image." alt="" coords="17,503,167,521"/>
<area shape="rect" href="headset.gui.MainController.ModelingController-class.html#OnChangeModTabs" title="Method for handling an incoming event when a tab has changed when adding a &#160;primitive (tumor or safe path)." alt="" coords="17,521,167,540"/>
<area shape="rect" href="headset.gui.MainController.ModelingController-class.html#OnBox" title="Method for handling an incoming event when the [Box] button is pressed." alt="" coords="17,540,167,559"/>
<area shape="rect" href="headset.gui.MainController.ModelingController-class.html#OnEllipsoid" title="Method for handling an incoming event when the [Ellipsoid] button is &#160;pressed." alt="" coords="17,559,167,577"/>
<area shape="rect" href="headset.gui.MainController.ModelingController-class.html#OnCylinder" title="Method for handling an incoming event when the [Cylinder] button is &#160;pressed." alt="" coords="17,577,167,596"/>
<area shape="rect" href="headset.gui.MainController.ModelingController-class.html#OnCone" title="Method for handling an incoming event when the [Cone] button is pressed." alt="" coords="17,596,167,615"/>
<area shape="rect" href="headset.gui.MainController.ModelingController-class.html#OnClone" title="Method for handling an incoming event when the [Clone selection] button is &#160;pressed." alt="" coords="17,615,167,633"/>
<area shape="rect" href="headset.gui.MainController.ModelingController-class.html#OnDelete" title="Method for handling an incoming event when the [Delete selection] button is pressed." alt="" coords="17,633,167,652"/>
<area shape="rect" href="headset.gui.MainController.ModelingController-class.html#OnClear" title="Method for handling an incoming event when the [Clear selection] button is &#160;pressed." alt="" coords="17,652,167,671"/>
<area shape="rect" href="headset.gui.MainController.ModelingController-class.html#OnUpdate" title="Method indicating that an update is needed after a change is provided to &#160;the model concerning the properties of a primitive." alt="" coords="17,689,167,708"/>
<area shape="rect" href="headset.gui.MainController.ModelingController-class.html" title="ModelingController is a derived class from CommonController and provides specific features and event handling mechanisms for ModelingView." alt="" coords="16,403,168,709"/>
<area shape="rect" href="headset.gui.MainController.CommonController-class.html#InitProjectSettings" title="This method initialises some variables in case a new project is openend." alt="" coords="25,223,159,241"/>
<area shape="rect" href="headset.gui.MainController.CommonController-class.html#OnClosingFrame" title="Method for handling an incoming event for closing the program." alt="" coords="25,241,159,260"/>
<area shape="rect" href="headset.gui.MainController.CommonController-class.html#OnEnterPanel" title="Method for handling an incoming event to show explanatory text in &#160;explanantion panel (in the view)." alt="" coords="25,260,159,279"/>
<area shape="rect" href="headset.gui.MainController.CommonController-class.html#OnOpen" title="Method for handling an incoming event to open another project." alt="" coords="25,279,159,297"/>
<area shape="rect" href="headset.gui.MainController.CommonController-class.html#OnSave" title="Method for handling an incoming event to save the current project." alt="" coords="25,297,159,316"/>
<area shape="rect" href="headset.gui.MainController.CommonController-class.html#OnSaveAs" title="Method for handling an incoming event to save the current project under &#160;another filename." alt="" coords="25,316,159,335"/>
<area shape="rect" href="headset.gui.MainController.CommonController-class.html#OnProp" title="Method for handling an incoming event to get property information about the current project." alt="" coords="25,335,159,353"/>
<area shape="rect" href="headset.gui.MainController.CommonController-class.html#OpenProject" title="Method for opening another project by providing a dialog window for &#160;selecting the HeaDSET projectfile." alt="" coords="25,353,159,372"/>
<area shape="rect" href="headset.gui.MainController.CommonController-class.html" title="CommonController is a derived class from Controller and provides additional common features and event handling mechanisms for specific views." alt="" coords="24,197,160,373"/>
<area shape="rect" href="headset.gui.MainController.Controller-class.html#OnExit" title="Method for handling an incoming event to exit the program." alt="" coords="21,36,163,55"/>
<area shape="rect" href="headset.gui.MainController.Controller-class.html#OnAbout" title="Method for handling an incoming event to show background information about &#160;the HeaDSET program." alt="" coords="21,55,163,73"/>
<area shape="rect" href="headset.gui.MainController.Controller-class.html#OnHelp" title="Method for handling an incoming event to show the help information of the &#160;HeaDSET program." alt="" coords="21,73,163,92"/>
<area shape="rect" href="headset.gui.MainController.Controller-class.html#OnSingleView" title="Method for handling an incoming event to change the view to a single &#160;viewport." alt="" coords="21,92,163,111"/>
<area shape="rect" href="headset.gui.MainController.Controller-class.html#OnMultiView" title="Method for handling an incoming event to change the view to a multiple &#160;viewport." alt="" coords="21,111,163,129"/>
<area shape="rect" href="headset.gui.MainController.Controller-class.html#OnConfigView" title="Method for handling an incoming event to change the view to a single &#160;viewport." alt="" coords="21,129,163,148"/>
<area shape="rect" href="headset.gui.MainController.Controller-class.html#GetTextFromFile" title="Method for extracting textual information from a textfile." alt="" coords="21,148,163,167"/>
<area shape="rect" href="headset.gui.MainController.Controller-class.html" title="Controller is the superclass of the different controllers of the HeaDSET program." alt="" coords="20,11,164,168"/>
</map>
  <img src="uml_class_diagram_for_headset__12.gif" alt='' usemap="#uml_class_diagram_for_headset__12" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<p>ModelingController is a derived class from CommonController and 
  provides specific features and event handling mechanisms for 
  ModelingView.</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">model</span>,
        <span class="summary-sig-arg">view</span>)</span><br />
      The constructor for ModelingController initialises the main variabels
      needed to run.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#BindEvents" class="summary-sig-name">BindEvents</a>(<span class="summary-sig-arg">self</span>)</span><br />
      This method binds the events to the widgets of ModelingView.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.BindEvents">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#StartNewProject" class="summary-sig-name">StartNewProject</a>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.StartNewProject">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnNew" class="summary-sig-name">OnNew</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span><br />
      Method for handling an incoming event to open a new project.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnNew">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnImport" class="summary-sig-name">OnImport</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span><br />
      Method for handling an incoming event to import a DICOM image.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnImport">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnChangeModTabs" class="summary-sig-name">OnChangeModTabs</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span><br />
      Method for handling an incoming event when a tab has changed when 
      adding a primitive (tumor or safe path).</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnChangeModTabs">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnBox" class="summary-sig-name">OnBox</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span><br />
      Method for handling an incoming event when the [Box] button is 
      pressed.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnBox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnEllipsoid" class="summary-sig-name">OnEllipsoid</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span><br />
      Method for handling an incoming event when the [Ellipsoid] button is 
      pressed.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnEllipsoid">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnCylinder" class="summary-sig-name">OnCylinder</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span><br />
      Method for handling an incoming event when the [Cylinder] button is 
      pressed.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnCylinder">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnCone" class="summary-sig-name">OnCone</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span><br />
      Method for handling an incoming event when the [Cone] button is 
      pressed.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnCone">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnClone" class="summary-sig-name">OnClone</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span><br />
      Method for handling an incoming event when the [Clone selection] 
      button is pressed.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnClone">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnDelete" class="summary-sig-name">OnDelete</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span><br />
      Method for handling an incoming event when the [Delete selection] 
      button is pressed.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnDelete">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnClear" class="summary-sig-name">OnClear</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span><br />
      Method for handling an incoming event when the [Clear selection] 
      button is pressed.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnClear">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnLabelSelection" class="summary-sig-name">OnLabelSelection</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span><br />
      Method for handling an incoming event when a label is clicked on.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnLabelSelection">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnScale" class="summary-sig-name">OnScale</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span><br />
      Method for handling an incoming event when a scale value has been 
      changed in one of the spin controls concerning scale.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnScale">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnMove" class="summary-sig-name">OnMove</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span><br />
      Method for handling an incoming event when a move value has been 
      changed in one of the spin controls concerning move.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnMove">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnRotate" class="summary-sig-name">OnRotate</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span><br />
      Method for handling an incoming event when a rotation value has been 
      changed in one of the spin controls concerning rotation.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnRotate">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#_Import" class="summary-sig-name" onclick="show_private();">_Import</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Method for importing a DICOM image.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController._Import">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#_addToModel" class="summary-sig-name" onclick="show_private();">_addToModel</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">geom</span>)</span><br />
      Method for adding a given primitive to the 3D model.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController._addToModel">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#GetAboutDoc" class="summary-sig-name">GetAboutDoc</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Method for returning backgroundinformation about HeaDSET PathCreator.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.GetAboutDoc">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#BindInfoLabel" class="summary-sig-name">BindInfoLabel</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">message</span>)</span><br />
      Method indicating that a new label has been added to the view and 
      bind the corresponding event to the label.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.BindInfoLabel">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnPick" class="summary-sig-name">OnPick</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">message</span>)</span><br />
      Method indicating that something is picked in the view, either a 
      primitive or empty space.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnPick">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="headset.gui.MainController.ModelingController-class.html#OnUpdate" class="summary-sig-name">OnUpdate</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">message</span>)</span><br />
      Method indicating that an update is needed after a change is provided
      to the model concerning the properties of a primitive.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnUpdate">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="headset.gui.MainController.CommonController-class.html">CommonController</a></code></b>:
      <code><a href="headset.gui.MainController.CommonController-class.html#InitProjectSettings">InitProjectSettings</a></code>,
      <code><a href="headset.gui.MainController.CommonController-class.html#OnClosingFrame">OnClosingFrame</a></code>,
      <code><a href="headset.gui.MainController.CommonController-class.html#OnEnterPanel">OnEnterPanel</a></code>,
      <code><a href="headset.gui.MainController.CommonController-class.html#OnOpen">OnOpen</a></code>,
      <code><a href="headset.gui.MainController.CommonController-class.html#OnProp">OnProp</a></code>,
      <code><a href="headset.gui.MainController.CommonController-class.html#OnSave">OnSave</a></code>,
      <code><a href="headset.gui.MainController.CommonController-class.html#OnSaveAs">OnSaveAs</a></code>,
      <code><a href="headset.gui.MainController.CommonController-class.html#OpenProject">OpenProject</a></code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="headset.gui.MainController.CommonController-class.html">CommonController</a></code></b> (private):
      <code><a href="headset.gui.MainController.CommonController-class.html#_LoadDicom" onclick="show_private();">_LoadDicom</a></code>,
      <code><a href="headset.gui.MainController.CommonController-class.html#_Save" onclick="show_private();">_Save</a></code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="headset.gui.MainController.Controller-class.html">Controller</a></code></b>:
      <code><a href="headset.gui.MainController.Controller-class.html#GetTextFromFile">GetTextFromFile</a></code>,
      <code><a href="headset.gui.MainController.Controller-class.html#OnAbout">OnAbout</a></code>,
      <code><a href="headset.gui.MainController.Controller-class.html#OnConfigView">OnConfigView</a></code>,
      <code><a href="headset.gui.MainController.Controller-class.html#OnExit">OnExit</a></code>,
      <code><a href="headset.gui.MainController.Controller-class.html#OnHelp">OnHelp</a></code>,
      <code><a href="headset.gui.MainController.Controller-class.html#OnMultiView">OnMultiView</a></code>,
      <code><a href="headset.gui.MainController.Controller-class.html#OnSingleView">OnSingleView</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">model</span>,
        <span class="sig-arg">view</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>The constructor for ModelingController initialises the main variabels 
  needed to run.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>model</code></strong> - The model belonging to this GUI.</li>
        <li><strong class="pname"><code>view</code></strong> - The view where events are handled from.</li>
    </ul></dd>
    <dt>Overrides:
        <a href="headset.gui.MainController.Controller-class.html#__init__">Controller.__init__</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="BindEvents"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">BindEvents</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.BindEvents">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>This method binds the events to the widgets of ModelingView.</p>
  <dl class="fields">
    <dt>Overrides:
        <a href="headset.gui.MainController.Controller-class.html#BindEvents">Controller.BindEvents</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="StartNewProject"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">StartNewProject</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.StartNewProject">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="OnNew"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnNew</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">event</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnNew">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for handling an incoming event to open a new project.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>event</code></strong> - Incoming event from view.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="OnImport"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnImport</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">event</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnImport">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for handling an incoming event to import a DICOM image.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>event</code></strong> - Incoming event from view.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="OnChangeModTabs"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnChangeModTabs</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">event</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnChangeModTabs">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for handling an incoming event when a tab has changed when 
  adding a primitive (tumor or safe path).</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>event</code></strong> - Incoming event from view.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="OnBox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnBox</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">event</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnBox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for handling an incoming event when the [Box] button is 
  pressed.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>event</code></strong> - Incoming event from view.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="OnEllipsoid"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnEllipsoid</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">event</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnEllipsoid">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for handling an incoming event when the [Ellipsoid] button is 
  pressed.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>event</code></strong> - Incoming event from view.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="OnCylinder"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnCylinder</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">event</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnCylinder">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for handling an incoming event when the [Cylinder] button is 
  pressed.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>event</code></strong> - Incoming event from view.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="OnCone"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnCone</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">event</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnCone">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for handling an incoming event when the [Cone] button is 
  pressed.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>event</code></strong> - Incoming event from view.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="OnClone"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnClone</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">event</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnClone">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for handling an incoming event when the [Clone selection] 
  button is pressed.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>event</code></strong> - Incoming event from view.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="OnDelete"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnDelete</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">event</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnDelete">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for handling an incoming event when the [Delete selection] 
  button is pressed.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>event</code></strong> - Incoming event from view.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="OnClear"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnClear</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">event</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnClear">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for handling an incoming event when the [Clear selection] 
  button is pressed.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>event</code></strong> - Incoming event from view.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="OnLabelSelection"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnLabelSelection</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">event</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnLabelSelection">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for handling an incoming event when a label is clicked on.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>event</code></strong> - Incoming event from view.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="OnScale"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnScale</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">event</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnScale">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for handling an incoming event when a scale value has been 
  changed in one of the spin controls concerning scale.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>event</code></strong> - Incoming event from view.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="OnMove"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnMove</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">event</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnMove">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for handling an incoming event when a move value has been 
  changed in one of the spin controls concerning move.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>event</code></strong> - Incoming event from view.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="OnRotate"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnRotate</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">event</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnRotate">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for handling an incoming event when a rotation value has been 
  changed in one of the spin controls concerning rotation.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>event</code></strong> - Incoming event from view.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="_Import"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">_Import</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController._Import">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for importing a DICOM image.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="_addToModel"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">_addToModel</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">geom</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController._addToModel">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for adding a given primitive to the 3D model.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>geom</code></strong> - The type of primitive to be added to the model.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="GetAboutDoc"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">GetAboutDoc</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.GetAboutDoc">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method for returning backgroundinformation about HeaDSET 
  PathCreator.</p>
  <dl class="fields">
    <dt>Returns:</dt>
        <dd>String with information about the program.</dd>
    <dt>Overrides:
        <a href="headset.gui.MainController.Controller-class.html#GetAboutDoc">Controller.GetAboutDoc</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="BindInfoLabel"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">BindInfoLabel</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">message</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.BindInfoLabel">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method indicating that a new label has been added to the view and bind
  the corresponding event to the label.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>message</code></strong> - The data provided to this ModelingController to make the 
          necessary changes possible.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="OnPick"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnPick</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">message</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnPick">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method indicating that something is picked in the view, either a 
  primitive or empty space. It is used to update the view.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>message</code></strong> - The data provided to this ModelingController to make the 
          necessary changes possible.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="OnUpdate"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">OnUpdate</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">message</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="headset.gui.MainController-pysrc.html#ModelingController.OnUpdate">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Method indicating that an update is needed after a change is provided 
  to the model concerning the properties of a primitive.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>message</code></strong> - The data provided to this ModelingController to make the 
          necessary changes possible.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="headset-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >HeaDSET</th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    <a href="epydoc-log.html">Generated by Epydoc
    3.0.1 on Wed Feb 25 12:57:53 2009</a>
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
